# encoding=utf-8

from . import objects

if "g_RewardDict" not in globals():
	g_RewardDict = {}


def init():
	g_RewardDict[objects.COneReward.m_Name] = objects.COneReward()
	g_RewardDict[objects.CTwoReward.m_Name] = objects.CTwoReward()
	g_RewardDict[objects.CThreeReward.m_Name] = objects.CThreeReward()
	g_RewardDict[objects.CFourReward.m_Name] = objects.CFourReward()


def getAllRewards():
	global g_RewardDict
	return g_RewardDict


def getAllRewardsNames():
	global g_RewardDict
	return list(g_RewardDict)
